package com.qyer.search.filter;

import com.qyer.search.model.SearchParameter;
import com.qyer.search.model.SearchParameterOrigin;

/**
 * User: Z J Wu Date: 2016/01/12 Time: 14:33 Package: com.qyer.search.validate
 */
public interface AbstractValidator {

  /**
   * @param id lastminute_id
   * @return
   */
  boolean isValid(SearchParameter sp, int id);

  boolean isValid(SearchParameterOrigin sp, int id);

}
